package com.gqb.classinit;

class bb{
	public int i=2;

	public bb() {
		System.out.println(this.i);
		this.display();
		System.out.println(this.getClass());this.sub();
	}
	public void display(){
		System.out.println(this.i);
		System.out.println(i);
	}
	public void sub(){
		System.out.println(i);
	}
	
}
class aa extends bb{
	private int i=22;

	public aa() {
		i=222;
	}
	public void display(){
		System.out.println(i);
	}
	
}
public class Init {
public static void main(String[] args) {
	new aa();
}
}
